
<?php
// My first module in joomla 2.5 
// www.developerpages.gr
 
// no direct access
defined('_JEXEC') or die('Acceso restringido<br />Buen intento!');

?>
<style>
/* CSS de la tabla*/

.datagrid table { border-collapse: collapse; width: 100%; } 
.datagrid {font: normal 12px/150% Arial, Helvetica, sans-serif; background: #fff; overflow: hidden; border: 3px solid #006699; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; margin:15px auto; }
.datagrid table td, .datagrid table th { padding: 3px 10px; }
.datagrid table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );background:-moz-linear-gradient( center top, #006699 5%, #00557F 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');background-color:#006699; color:#FFFFFF; font-size: 15px; font-weight: bold; border-left: 1px solid #0070A8; } 
.datagrid table thead th:first-child { border: none; }
.datagrid table tbody td { color: #00557F; border-left: 1px solid #E1EEF4;font-size: 12px;font-weight: normal; }
.datagrid table tbody .alt td { background: #E1EEf4; color: #00557F; }
.datagrid table tbody td:first-child { border-left: none; }
.datagrid table tbody tr:last-child td { border-bottom: none; }
.datagrid table tfoot td div { border-top: 1px solid #006699;background: #E1EEf4;}
.datagrid table tfoot td { padding: 0; font-size: 12px } 
.datagrid table tfoot td div{ padding: 2px; }
.datagrid table tfoot td ul { margin: 0; padding:0; list-style: none; text-align: right; }
.datagrid table tfoot  li { display: inline; }
.datagrid table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #006699;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );background:-moz-linear-gradient( center top, #006699 5%, #00557F 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');background-color:#006699; }
.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover { text-decoration: none;border-color: #00557F; color: #FFFFFF; background: none; background-color:#006699;}
div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }

</style>

<div class="select_menu">
	<span>Selecione un país</span>
	<form action="?" method="POST" >
    	<select name="select_Pais">
        	<option value="todos">Todos...</option>
           					<option  value="Costa RIca">Costa RIca</option>
                    	
									<option  value="Nicaraga">Nicaraga</option>
                    	
									<option  value="El Salvador">El Salvador</option>
                    	
				        </select>
<input type="text" name="keyword" placeholder="Busqueda por proyectos"/>
<input type="submit" name="alg"  value="Buscar"/>
    </form>
</div>

<div class="datagrid">
    <table>
        <thead>
            <tr>
                <th>País</th>
                <th>Universidad</th>
                <th>Proyecto</th>
                <th>Descripción</th>
                <th>Link</th>
            </tr>
        </thead>
        <tbody>
                        <tr>
                <td>Costa RIca</td>
                <td>uni_new</td>
                <td>pro_new2</td>
                <td>desc_new</td>
                <td>http://localhost/</td>
            </tr>
				             <tr>
                <td>Nicaraga</td>
                <td>uni_new</td>
                <td>pro_new2</td>
                <td>desc_new</td>
                <td>http://localhost/</td>
            </tr>
				             <tr>
                <td>El Salvador</td>
                <td>UCA</td>
                <td>Me la pico</td>
                <td>Una ayuda muy poca</td>
                <td>http://www.facebook.com</td>
            </tr>
				        </tbody>
             </table>
</div>